package com.kingzoon.seckill.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class SpmFeeConfigExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public SpmFeeConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andExchangeIdIsNull() {
            addCriterion("EXCHANGE_ID is null");
            return (Criteria) this;
        }

        public Criteria andExchangeIdIsNotNull() {
            addCriterion("EXCHANGE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeIdEqualTo(String value) {
            addCriterion("EXCHANGE_ID =", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdNotEqualTo(String value) {
            addCriterion("EXCHANGE_ID <>", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdGreaterThan(String value) {
            addCriterion("EXCHANGE_ID >", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdGreaterThanOrEqualTo(String value) {
            addCriterion("EXCHANGE_ID >=", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdLessThan(String value) {
            addCriterion("EXCHANGE_ID <", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdLessThanOrEqualTo(String value) {
            addCriterion("EXCHANGE_ID <=", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdLike(String value) {
            addCriterion("EXCHANGE_ID like", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdNotLike(String value) {
            addCriterion("EXCHANGE_ID not like", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdIn(List<String> values) {
            addCriterion("EXCHANGE_ID in", values, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdNotIn(List<String> values) {
            addCriterion("EXCHANGE_ID not in", values, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdBetween(String value1, String value2) {
            addCriterion("EXCHANGE_ID between", value1, value2, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdNotBetween(String value1, String value2) {
            addCriterion("EXCHANGE_ID not between", value1, value2, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdIsNull() {
            addCriterion("DISTRIBUTOR_ID is null");
            return (Criteria) this;
        }

        public Criteria andDistributorIdIsNotNull() {
            addCriterion("DISTRIBUTOR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDistributorIdEqualTo(String value) {
            addCriterion("DISTRIBUTOR_ID =", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdNotEqualTo(String value) {
            addCriterion("DISTRIBUTOR_ID <>", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdGreaterThan(String value) {
            addCriterion("DISTRIBUTOR_ID >", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdGreaterThanOrEqualTo(String value) {
            addCriterion("DISTRIBUTOR_ID >=", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdLessThan(String value) {
            addCriterion("DISTRIBUTOR_ID <", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdLessThanOrEqualTo(String value) {
            addCriterion("DISTRIBUTOR_ID <=", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdLike(String value) {
            addCriterion("DISTRIBUTOR_ID like", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdNotLike(String value) {
            addCriterion("DISTRIBUTOR_ID not like", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdIn(List<String> values) {
            addCriterion("DISTRIBUTOR_ID in", values, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdNotIn(List<String> values) {
            addCriterion("DISTRIBUTOR_ID not in", values, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdBetween(String value1, String value2) {
            addCriterion("DISTRIBUTOR_ID between", value1, value2, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdNotBetween(String value1, String value2) {
            addCriterion("DISTRIBUTOR_ID not between", value1, value2, "distributorId");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeIsNull() {
            addCriterion("BUSINESS_CODE is null");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeIsNotNull() {
            addCriterion("BUSINESS_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeEqualTo(String value) {
            addCriterion("BUSINESS_CODE =", value, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeNotEqualTo(String value) {
            addCriterion("BUSINESS_CODE <>", value, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeGreaterThan(String value) {
            addCriterion("BUSINESS_CODE >", value, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeGreaterThanOrEqualTo(String value) {
            addCriterion("BUSINESS_CODE >=", value, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeLessThan(String value) {
            addCriterion("BUSINESS_CODE <", value, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeLessThanOrEqualTo(String value) {
            addCriterion("BUSINESS_CODE <=", value, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeLike(String value) {
            addCriterion("BUSINESS_CODE like", value, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeNotLike(String value) {
            addCriterion("BUSINESS_CODE not like", value, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeIn(List<String> values) {
            addCriterion("BUSINESS_CODE in", values, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeNotIn(List<String> values) {
            addCriterion("BUSINESS_CODE not in", values, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeBetween(String value1, String value2) {
            addCriterion("BUSINESS_CODE between", value1, value2, "businessCode");
            return (Criteria) this;
        }

        public Criteria andBusinessCodeNotBetween(String value1, String value2) {
            addCriterion("BUSINESS_CODE not between", value1, value2, "businessCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeIsNull() {
            addCriterion("FEE_CODE is null");
            return (Criteria) this;
        }

        public Criteria andFeeCodeIsNotNull() {
            addCriterion("FEE_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andFeeCodeEqualTo(String value) {
            addCriterion("FEE_CODE =", value, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeNotEqualTo(String value) {
            addCriterion("FEE_CODE <>", value, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeGreaterThan(String value) {
            addCriterion("FEE_CODE >", value, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("FEE_CODE >=", value, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeLessThan(String value) {
            addCriterion("FEE_CODE <", value, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeLessThanOrEqualTo(String value) {
            addCriterion("FEE_CODE <=", value, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeLike(String value) {
            addCriterion("FEE_CODE like", value, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeNotLike(String value) {
            addCriterion("FEE_CODE not like", value, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeIn(List<String> values) {
            addCriterion("FEE_CODE in", values, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeNotIn(List<String> values) {
            addCriterion("FEE_CODE not in", values, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeBetween(String value1, String value2) {
            addCriterion("FEE_CODE between", value1, value2, "feeCode");
            return (Criteria) this;
        }

        public Criteria andFeeCodeNotBetween(String value1, String value2) {
            addCriterion("FEE_CODE not between", value1, value2, "feeCode");
            return (Criteria) this;
        }

        public Criteria andMemberTypeIsNull() {
            addCriterion("MEMBER_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andMemberTypeIsNotNull() {
            addCriterion("MEMBER_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andMemberTypeEqualTo(Short value) {
            addCriterion("MEMBER_TYPE =", value, "memberType");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNotEqualTo(Short value) {
            addCriterion("MEMBER_TYPE <>", value, "memberType");
            return (Criteria) this;
        }

        public Criteria andMemberTypeGreaterThan(Short value) {
            addCriterion("MEMBER_TYPE >", value, "memberType");
            return (Criteria) this;
        }

        public Criteria andMemberTypeGreaterThanOrEqualTo(Short value) {
            addCriterion("MEMBER_TYPE >=", value, "memberType");
            return (Criteria) this;
        }

        public Criteria andMemberTypeLessThan(Short value) {
            addCriterion("MEMBER_TYPE <", value, "memberType");
            return (Criteria) this;
        }

        public Criteria andMemberTypeLessThanOrEqualTo(Short value) {
            addCriterion("MEMBER_TYPE <=", value, "memberType");
            return (Criteria) this;
        }

        public Criteria andMemberTypeIn(List<Short> values) {
            addCriterion("MEMBER_TYPE in", values, "memberType");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNotIn(List<Short> values) {
            addCriterion("MEMBER_TYPE not in", values, "memberType");
            return (Criteria) this;
        }

        public Criteria andMemberTypeBetween(Short value1, Short value2) {
            addCriterion("MEMBER_TYPE between", value1, value2, "memberType");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNotBetween(Short value1, Short value2) {
            addCriterion("MEMBER_TYPE not between", value1, value2, "memberType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeIsNull() {
            addCriterion("CHANNEL_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andChannelTypeIsNotNull() {
            addCriterion("CHANNEL_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andChannelTypeEqualTo(String value) {
            addCriterion("CHANNEL_TYPE =", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotEqualTo(String value) {
            addCriterion("CHANNEL_TYPE <>", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeGreaterThan(String value) {
            addCriterion("CHANNEL_TYPE >", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeGreaterThanOrEqualTo(String value) {
            addCriterion("CHANNEL_TYPE >=", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeLessThan(String value) {
            addCriterion("CHANNEL_TYPE <", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeLessThanOrEqualTo(String value) {
            addCriterion("CHANNEL_TYPE <=", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeLike(String value) {
            addCriterion("CHANNEL_TYPE like", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotLike(String value) {
            addCriterion("CHANNEL_TYPE not like", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeIn(List<String> values) {
            addCriterion("CHANNEL_TYPE in", values, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotIn(List<String> values) {
            addCriterion("CHANNEL_TYPE not in", values, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeBetween(String value1, String value2) {
            addCriterion("CHANNEL_TYPE between", value1, value2, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotBetween(String value1, String value2) {
            addCriterion("CHANNEL_TYPE not between", value1, value2, "channelType");
            return (Criteria) this;
        }

        public Criteria andBusinessNameIsNull() {
            addCriterion("BUSINESS_NAME is null");
            return (Criteria) this;
        }

        public Criteria andBusinessNameIsNotNull() {
            addCriterion("BUSINESS_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessNameEqualTo(String value) {
            addCriterion("BUSINESS_NAME =", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameNotEqualTo(String value) {
            addCriterion("BUSINESS_NAME <>", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameGreaterThan(String value) {
            addCriterion("BUSINESS_NAME >", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameGreaterThanOrEqualTo(String value) {
            addCriterion("BUSINESS_NAME >=", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameLessThan(String value) {
            addCriterion("BUSINESS_NAME <", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameLessThanOrEqualTo(String value) {
            addCriterion("BUSINESS_NAME <=", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameLike(String value) {
            addCriterion("BUSINESS_NAME like", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameNotLike(String value) {
            addCriterion("BUSINESS_NAME not like", value, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameIn(List<String> values) {
            addCriterion("BUSINESS_NAME in", values, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameNotIn(List<String> values) {
            addCriterion("BUSINESS_NAME not in", values, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameBetween(String value1, String value2) {
            addCriterion("BUSINESS_NAME between", value1, value2, "businessName");
            return (Criteria) this;
        }

        public Criteria andBusinessNameNotBetween(String value1, String value2) {
            addCriterion("BUSINESS_NAME not between", value1, value2, "businessName");
            return (Criteria) this;
        }

        public Criteria andFeeNameIsNull() {
            addCriterion("FEE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andFeeNameIsNotNull() {
            addCriterion("FEE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andFeeNameEqualTo(String value) {
            addCriterion("FEE_NAME =", value, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameNotEqualTo(String value) {
            addCriterion("FEE_NAME <>", value, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameGreaterThan(String value) {
            addCriterion("FEE_NAME >", value, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameGreaterThanOrEqualTo(String value) {
            addCriterion("FEE_NAME >=", value, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameLessThan(String value) {
            addCriterion("FEE_NAME <", value, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameLessThanOrEqualTo(String value) {
            addCriterion("FEE_NAME <=", value, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameLike(String value) {
            addCriterion("FEE_NAME like", value, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameNotLike(String value) {
            addCriterion("FEE_NAME not like", value, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameIn(List<String> values) {
            addCriterion("FEE_NAME in", values, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameNotIn(List<String> values) {
            addCriterion("FEE_NAME not in", values, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameBetween(String value1, String value2) {
            addCriterion("FEE_NAME between", value1, value2, "feeName");
            return (Criteria) this;
        }

        public Criteria andFeeNameNotBetween(String value1, String value2) {
            addCriterion("FEE_NAME not between", value1, value2, "feeName");
            return (Criteria) this;
        }

        public Criteria andStartMoneyIsNull() {
            addCriterion("START_MONEY is null");
            return (Criteria) this;
        }

        public Criteria andStartMoneyIsNotNull() {
            addCriterion("START_MONEY is not null");
            return (Criteria) this;
        }

        public Criteria andStartMoneyEqualTo(BigDecimal value) {
            addCriterion("START_MONEY =", value, "startMoney");
            return (Criteria) this;
        }

        public Criteria andStartMoneyNotEqualTo(BigDecimal value) {
            addCriterion("START_MONEY <>", value, "startMoney");
            return (Criteria) this;
        }

        public Criteria andStartMoneyGreaterThan(BigDecimal value) {
            addCriterion("START_MONEY >", value, "startMoney");
            return (Criteria) this;
        }

        public Criteria andStartMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("START_MONEY >=", value, "startMoney");
            return (Criteria) this;
        }

        public Criteria andStartMoneyLessThan(BigDecimal value) {
            addCriterion("START_MONEY <", value, "startMoney");
            return (Criteria) this;
        }

        public Criteria andStartMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("START_MONEY <=", value, "startMoney");
            return (Criteria) this;
        }

        public Criteria andStartMoneyIn(List<BigDecimal> values) {
            addCriterion("START_MONEY in", values, "startMoney");
            return (Criteria) this;
        }

        public Criteria andStartMoneyNotIn(List<BigDecimal> values) {
            addCriterion("START_MONEY not in", values, "startMoney");
            return (Criteria) this;
        }

        public Criteria andStartMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("START_MONEY between", value1, value2, "startMoney");
            return (Criteria) this;
        }

        public Criteria andStartMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("START_MONEY not between", value1, value2, "startMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyIsNull() {
            addCriterion("END_MONEY is null");
            return (Criteria) this;
        }

        public Criteria andEndMoneyIsNotNull() {
            addCriterion("END_MONEY is not null");
            return (Criteria) this;
        }

        public Criteria andEndMoneyEqualTo(BigDecimal value) {
            addCriterion("END_MONEY =", value, "endMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyNotEqualTo(BigDecimal value) {
            addCriterion("END_MONEY <>", value, "endMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyGreaterThan(BigDecimal value) {
            addCriterion("END_MONEY >", value, "endMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("END_MONEY >=", value, "endMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyLessThan(BigDecimal value) {
            addCriterion("END_MONEY <", value, "endMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("END_MONEY <=", value, "endMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyIn(List<BigDecimal> values) {
            addCriterion("END_MONEY in", values, "endMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyNotIn(List<BigDecimal> values) {
            addCriterion("END_MONEY not in", values, "endMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("END_MONEY between", value1, value2, "endMoney");
            return (Criteria) this;
        }

        public Criteria andEndMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("END_MONEY not between", value1, value2, "endMoney");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleIsNull() {
            addCriterion("SLIDING_SCALE is null");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleIsNotNull() {
            addCriterion("SLIDING_SCALE is not null");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleEqualTo(BigDecimal value) {
            addCriterion("SLIDING_SCALE =", value, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleNotEqualTo(BigDecimal value) {
            addCriterion("SLIDING_SCALE <>", value, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleGreaterThan(BigDecimal value) {
            addCriterion("SLIDING_SCALE >", value, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SLIDING_SCALE >=", value, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleLessThan(BigDecimal value) {
            addCriterion("SLIDING_SCALE <", value, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SLIDING_SCALE <=", value, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleIn(List<BigDecimal> values) {
            addCriterion("SLIDING_SCALE in", values, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleNotIn(List<BigDecimal> values) {
            addCriterion("SLIDING_SCALE not in", values, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SLIDING_SCALE between", value1, value2, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andSlidingScaleNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SLIDING_SCALE not between", value1, value2, "slidingScale");
            return (Criteria) this;
        }

        public Criteria andFixedAmountIsNull() {
            addCriterion("FIXED_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andFixedAmountIsNotNull() {
            addCriterion("FIXED_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andFixedAmountEqualTo(BigDecimal value) {
            addCriterion("FIXED_AMOUNT =", value, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andFixedAmountNotEqualTo(BigDecimal value) {
            addCriterion("FIXED_AMOUNT <>", value, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andFixedAmountGreaterThan(BigDecimal value) {
            addCriterion("FIXED_AMOUNT >", value, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andFixedAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("FIXED_AMOUNT >=", value, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andFixedAmountLessThan(BigDecimal value) {
            addCriterion("FIXED_AMOUNT <", value, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andFixedAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("FIXED_AMOUNT <=", value, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andFixedAmountIn(List<BigDecimal> values) {
            addCriterion("FIXED_AMOUNT in", values, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andFixedAmountNotIn(List<BigDecimal> values) {
            addCriterion("FIXED_AMOUNT not in", values, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andFixedAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FIXED_AMOUNT between", value1, value2, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andFixedAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FIXED_AMOUNT not between", value1, value2, "fixedAmount");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusIsNull() {
            addCriterion("IS_AVAILABLE_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusIsNotNull() {
            addCriterion("IS_AVAILABLE_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusEqualTo(Short value) {
            addCriterion("IS_AVAILABLE_STATUS =", value, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusNotEqualTo(Short value) {
            addCriterion("IS_AVAILABLE_STATUS <>", value, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusGreaterThan(Short value) {
            addCriterion("IS_AVAILABLE_STATUS >", value, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("IS_AVAILABLE_STATUS >=", value, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusLessThan(Short value) {
            addCriterion("IS_AVAILABLE_STATUS <", value, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusLessThanOrEqualTo(Short value) {
            addCriterion("IS_AVAILABLE_STATUS <=", value, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusIn(List<Short> values) {
            addCriterion("IS_AVAILABLE_STATUS in", values, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusNotIn(List<Short> values) {
            addCriterion("IS_AVAILABLE_STATUS not in", values, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusBetween(Short value1, Short value2) {
            addCriterion("IS_AVAILABLE_STATUS between", value1, value2, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andIsAvailableStatusNotBetween(Short value1, Short value2) {
            addCriterion("IS_AVAILABLE_STATUS not between", value1, value2, "isAvailableStatus");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameIsNull() {
            addCriterion("MEMBER_TYPE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameIsNotNull() {
            addCriterion("MEMBER_TYPE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameEqualTo(String value) {
            addCriterion("MEMBER_TYPE_NAME =", value, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameNotEqualTo(String value) {
            addCriterion("MEMBER_TYPE_NAME <>", value, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameGreaterThan(String value) {
            addCriterion("MEMBER_TYPE_NAME >", value, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("MEMBER_TYPE_NAME >=", value, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameLessThan(String value) {
            addCriterion("MEMBER_TYPE_NAME <", value, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameLessThanOrEqualTo(String value) {
            addCriterion("MEMBER_TYPE_NAME <=", value, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameLike(String value) {
            addCriterion("MEMBER_TYPE_NAME like", value, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameNotLike(String value) {
            addCriterion("MEMBER_TYPE_NAME not like", value, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameIn(List<String> values) {
            addCriterion("MEMBER_TYPE_NAME in", values, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameNotIn(List<String> values) {
            addCriterion("MEMBER_TYPE_NAME not in", values, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameBetween(String value1, String value2) {
            addCriterion("MEMBER_TYPE_NAME between", value1, value2, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andMemberTypeNameNotBetween(String value1, String value2) {
            addCriterion("MEMBER_TYPE_NAME not between", value1, value2, "memberTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameIsNull() {
            addCriterion("CHANNEL_TYPE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameIsNotNull() {
            addCriterion("CHANNEL_TYPE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameEqualTo(String value) {
            addCriterion("CHANNEL_TYPE_NAME =", value, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameNotEqualTo(String value) {
            addCriterion("CHANNEL_TYPE_NAME <>", value, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameGreaterThan(String value) {
            addCriterion("CHANNEL_TYPE_NAME >", value, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("CHANNEL_TYPE_NAME >=", value, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameLessThan(String value) {
            addCriterion("CHANNEL_TYPE_NAME <", value, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameLessThanOrEqualTo(String value) {
            addCriterion("CHANNEL_TYPE_NAME <=", value, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameLike(String value) {
            addCriterion("CHANNEL_TYPE_NAME like", value, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameNotLike(String value) {
            addCriterion("CHANNEL_TYPE_NAME not like", value, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameIn(List<String> values) {
            addCriterion("CHANNEL_TYPE_NAME in", values, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameNotIn(List<String> values) {
            addCriterion("CHANNEL_TYPE_NAME not in", values, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameBetween(String value1, String value2) {
            addCriterion("CHANNEL_TYPE_NAME between", value1, value2, "channelTypeName");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNameNotBetween(String value1, String value2) {
            addCriterion("CHANNEL_TYPE_NAME not between", value1, value2, "channelTypeName");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}